package com.smartleanx.module.hrm.controller.admin.employee.certificate;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 员工证书新增/修改 Request VO")
@Data
public class EmployeeCertificateSaveReqVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "26247")
    private Long id;

    @Schema(description = "员工id", requiredMode = Schema.RequiredMode.REQUIRED, example = "3535")
    private Long employeeId;

    @Schema(description = "证书名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "证书名称不能为空")
    private String certificateName;

    @Schema(description = "证书级别")
    private String certificateLevel;

    @Schema(description = "证书编号")
    private String certificateCode;

    @Schema(description = "有效起始日期")
    private LocalDateTime startTime;

    @Schema(description = "有效结束日期")
    private LocalDateTime endTime;

    @Schema(description = "发证机构")
    private String issuingAuthority;

    @Schema(description = "发证日期")
    private LocalDateTime issuingTime;

    @Schema(description = "备注")
    private String remarks;
}
